import request from "../axios";


// 查询一级分类
export const queryConurseClassifyList = () => {
    return request({
        url: '/ccList',
        method: 'GET'
    })
}

export const queryConurseClassifySecondList = (id:number) => {
    return request({
        url: '/secondList',
        method: 'POST',
        data: id
    })
}

// 查询分类Tree列表
export const queryConurseClassifyTree = () => {
    return request({
        url: '/tree',
        method: 'GET'
    })
}
